package com.tanhua.dubbo.api;

import com.tanhua.model.enums.VideoType;
import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface VideoApi {
    /**
     * 保存小视频
     * @param video
     * @return
     */
    String save(Video video);

    List<Video> findVideosByVids(List<Long> vids);

    List<Video> queryVideoList(int page, Integer pagesize);
    //根据ID查询视频列表
    PageResult findVideosByVid(Integer page, Integer pagesize, Long uid);
}
